
# for num in range(1,256+1):
#     baiwei = num // 100
#     shiwei = num // 10 % 10
#     gewei = num % 10
#     if num % 7 == 0 or gewei + shiwei + baiwei == 7 or str(num).count('7') > 0:
#         print('满足条件的数字有',num)

# dict_a = {}
# print(dict_a)

# dict_b = {'hello':'python','good bye':'english'}
# print(dict_b)

# dict_c = dict([('hello','python'),('good bye','english')])
# print(dict_c)

scores={
    '张三':[95,90,86],
    '李四':[95,90,79],
    '王五':[85,76,95],
    '赵六':[76,86,79],
    '孙七':[85,95,90],
    '老八':[92,88,79]
}
for k,v in scores.items():
    print(k,v)


# for i in scores:
#     print(i,scores.get(i))

# del scores['孙七']
# scores.pop('孙七')
# scores.popitem()
# print(scores)

# print(scores['王二'])
# print(scores.get('王二','查无此人'))



